package com.jec.module.sysconfig.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jec.module.sysconfig.entity.PhoneStation;

public interface PhoneStationRepository extends JpaRepository<PhoneStation, Integer>{
	
	public List<PhoneStation> findAllByNetunit(int netunit);
	
	public boolean existsByNetunitAndCodeAndIdNot(int netunit, String code, int id);
	
}
